package com.noyes4j.ota.domain;

import com.noyes4j.common.annotation.Excel;
import com.noyes4j.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName SysFirmware
 * @Description: TODO
 * @Author zhaoweiqin
 * @Date 2021/1/29
 * @Version V1.0
 **/
public class SysFirmware extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 固件表ID */
    private Long id;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long proId;

    /** 版本号 */
    @Excel(name = "版本号")
    private String vresion;

    /** 固件地址 */
    @Excel(name = "固件地址")
    private String path;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProId(Long proId)
    {
        this.proId = proId;
    }

    public Long getProId()
    {
        return proId;
    }
    public void setVresion(String vresion)
    {
        this.vresion = vresion;
    }

    public String getVresion()
    {
        return vresion;
    }
    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("proId", getProId())
                .append("vresion", getVresion())
                .append("path", getPath())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}